﻿using System;
using System.IO;

using SharedGenomics.Core;
using SharedGenomics.Domain;

namespace SharedGenomics.Workbench.Services
{
    public class AnalysisResultsInfo
    {
        public AnalysisResultsInfo(JobType jobType, Stream resultsFileStream)
        {
            resultsFileStream.ThrowIfNull("resultsFileStream");

            this.ResultsJobType = jobType;
            this.ResultsFileStream = resultsFileStream;
        }

        public JobType ResultsJobType { get; private set; }
        public Stream ResultsFileStream { get; private set; }
    }
}
